Search results
33 packages found
DOM element size sensor which will callback when size changed.
Polyfills the ResizeObserver API and supports box size options from the latest spec
- ResizeObserver
- polyfill
- ponyfill
- event
- resize
- observer
- typescript
- javascript
- element
- component
- container
- queries
- web components
- front-end
- View more
Get the size of an element in pixels, including margins
Minimalistic wrapper around ResizeObserver to watch element size
Vue directive which allows to synchronize element sizes
Wrapper component that detects element resize and passes new dimensions down the tree. Based on [element-resize-detector](https://github.com/wnr/element-resize-detector)
A helper to work with rectangular regions in the DOM
Detects the real width and height of the document.
- jquery
- jquery-plugin
- document
- dimensions
- width
- height
- size
- viewport
- window
- overflow
- scroll
- scrollbar
- container
- dom
- View more
## 新动态 ### 1.2.1 (2017-09-30) * 增加style支持传递Object类型的数据,如:<div style={{fontSize:30, color:'red'}}>Hello</div>,当然,也可以写字符串 ### 1.2.2 (2017-09-30) * 修改了HTML中结束标签的bug
Creates an array of elements split into groups the length of size. If array can't be split evenly, the final chunk will be the remaining elements
Helper function to get size of unvisible HTML element or HTML element not attached to DOM
监听元素大小变化
Mixins for React components based on html-element-size package
A React component which renders a DIV element with the provided content inside it and reports the width and height of the content to a callback function whenever the size of the DIV is changed.
Polyfills the ResizeObserver API and supports box size options from the latest spec
- ResizeObserver
- polyfill
- ponyfill
- event
- resize
- observer
- typescript
- javascript
- element
- component
- container
- queries
- web components
- front-end
- View more
Returns the size of an element and its absolute position of the document.
Detect when a DOM element changes size or position
Wrapper component that detects element resize and passes new dimensions down the tree. Based on [element-resize-detector](https://github.com/wnr/element-resize-detector)
React hook for tracking element size (540 bytes)
Forked from size-sensor.For learning only